package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.PeachBlossom;

public interface PeachBlossomApi {
    /**
     * 桃花传音-发送语音
     * @param peachBlossom
     */
    void send(PeachBlossom peachBlossom);

    /**
     * 桃花传音-接收语音
     * @param userId
     * @return
     */
    PeachBlossom findVoice(long userId);
}
